//
//  ProductData.swift
//  HttpStydu
//
//  Created by yongkang on 2017/8/11.
//  Copyright © 2017年 sheng. All rights reserved.
//

import ObjectMapper

class ProductData: Mappable {
    
    var items : [ProductItem]?
    var paging: PagingData?
        
    required init?(map: Map){
        
    }
    
    func mapping(map: Map) {
        items <- map["items"]
        paging <- map["paging"]
    }
    
}


class PagingData: Mappable {
    
    var next_url: String?
    
    required init?(map: Map){
        
    }
    
    func mapping(map: Map) {
        next_url <- map["next_url"]
    }
    
}
